﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ORMAC.Attributes;

namespace ORMAC.CodeGen
{
    /// <summary>
    /// Class to hold information on each table column
    /// </summary>
    [Table("sys.parameters")]
    public class ParameterInfo
    {
        [PrimaryKey]
        [Field("object_id")]
        public string ObjectID { get; set; }

        [PrimaryKey]
        [Field("name")]
        public string Name { get; set; }
        [Join(ParentCol="system_type_id",ChildCol="system_type_id")]
        public TypeInfo ParameterType
        {
            get;
            set;
        }        
    }
}
